import error_route from './error_route';
import log_route from './log_route';
import login_route from './login_route';
import org_route from './org_route';
import right_route from './right_route';
const routes = [
  {
    path: '/',
    meta: {
      title: '模板页面',
      icon: 'el-icon-s-home',
      isHideBreadcrumb: true,
    },
    component: () => import('@/components/Layout.vue'),
    children: [
      {
        path: '',
        meta: {
          title: '首页',
          icon: 'el-icon-s-home',
        },
        component: () => import('@/views/Home/Home.vue'),
      },
      org_route,
      right_route,
      log_route,
    ],
  },
  login_route,
  error_route,
];

export default routes;
